package com.common.exception;

import com.common.constant.Codes;

/**
 * 自定义异常
 * 
 */
public class UnloginException extends RuntimeException {

    private String msg;
    private int code;


    public UnloginException() {
		this.code= Codes.UNLOGIN.getCode();
		this.msg = Codes.UNLOGIN.getMessage();
	}

	public String getMsg() {
		return msg;
	}

	public int getCode() {
		return code;
	}
}
